package study.java.thread06;

/**
* @Name: Student
* @Description: 学生资源类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-1-9 下午4:51:26 
* @Version: V1.0
 */
public class Student {
	
	private boolean flag = false ; //默认为false，没有数据；设置为true，代表有数据
	private String name ;
	private int age ;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public boolean getFlag() {
		return flag;
	}
	public void setFlag(boolean flag) {
		this.flag = flag;
	}
}
